<?php
/**
 * Stubs for WinCache extension by Microsoft (v1.1.0)
 * @link http://www.php.net/manual/en/book.wincache.php
 * Windows Cache Extension for PHP is a PHP accelerator that is used to increase
 * the speed of PHP applications running on Windows and Windows Server.
 * Requirements:
 *   IIS WebServer
 *   FastCGI mode
 *   PHP 5.2.X, Non-thread-safe build
 *   PHP 5.3 X86, Non-thread-safe VC9 build
 *
 * Author: Andriy Bazanov
 * Date  : 2010-09-30
 */

/**
*<div id="function.wincache-fcache-fileinfo" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_fcache_fileinfo</h1>   <p class="verinfo">(PECL wincache &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">wincache_fcache_fileinfo</span> &mdash; <span class="dc-title">    Retrieves information about files cached in the file cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-fcache-fileinfo-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_fcache_fileinfo</strong></span>     ([ <span class="methodparam"><span class="type" style="color:#EAB766">bool</span> <span class="parameter" style="color:#2EACF9">$summaryonly</span><span class="initializer"> = <strong><span>FALSE</span></strong></span></span>   ] )</div>    <p class="para rdfs-comment">    Retrieves information about file cache content and its usage.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-fcache-fileinfo-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">summaryonly</span></dt>       <dd>        <p class="para">        Controls whether the returned array will contain information about individual cache entries         along with the file cache summary.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-fcache-fileinfo-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data about file cache  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>   <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>total_cache_uptime</em> - total time in seconds that the file cache has been active      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_file_count</em> - total number of files that are currently in the file cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_hit_count</em> - number of times the files have been served from the file cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_miss_count</em> - number of times the files have not been found in the file cache      </span>     </li>     <li class="listitem">      <p class="para">       <em>file_entries</em> - an array that contains the information about all the cached files:       <ul class="itemizedlist">        <li class="listitem">         <span class="simpara">          <em>file_name</em> - absolute file name of the cached file         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>add_time</em> - time in seconds since the file has been added to the file cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>use_time</em> - time in seconds since the file has been accessed in the file cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>last_check</em> - time in seconds since the file has been checked for modifications         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>hit_count</em> - number of times the file has been served from the cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>file_size</em> - size of the cached file in bytes         </span>        </li>       </ul>      </p>     </li>    </ul>   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-fcache-fileinfo-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-608">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_fcache_fileinfo()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> &lt;pre&gt;<br /><span style="color: #9876AA">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_fcache_fileinfo</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;<br /></span>&lt;/pre&gt;</span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array (   [total_cache_uptime] =&gt; 3234     [total_file_count] =&gt; 5     [total_hit_count] =&gt; 0     [total_miss_count] =&gt; 1     [file_entries] =&gt; Array         (             [1] =&gt; Array                 (                     [file_name] =&gt; c:\inetpub\wwwroot\checkcache.php                     [add_time] =&gt; 1                     [use_time] =&gt; 0                     [last_check] =&gt; 1                     [hit_count] =&gt; 1                     [file_size] =&gt; 2435                 )             [2] =&gt; Array (...iterates for each cached file)         ) ) </span></div>     </div>    </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-fcache-fileinfo-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ocache_fileinfo()} - Retrieves information about files cached in the opcode cache</span></li>     <li class="member"><span class="function">{@link wincache_ocache_meminfo()} - Retrieves information about opcode cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_meminfo()} - Retrieves information about session cache memory usage</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data about file cache or FALSE on failure*/
function wincache_fcache_fileinfo($summaryonly = false) {}

/**
*<div id="function.wincache-fcache-meminfo" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_fcache_meminfo</h1>   <p class="verinfo">(PECL wincache &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">wincache_fcache_meminfo</span> &mdash; <span class="dc-title">    Retrieves information about file cache memory usage   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-fcache-meminfo-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_fcache_meminfo</strong></span>     ( <span class="methodparam">void</span>    )</div>    <p class="para rdfs-comment">    Retrieves information about memory usage by file cache.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-fcache-meminfo-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data about file cache memory usage  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>   <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>memory_total</em> - amount of memory in bytes allocated for the file cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_free</em> - amount of free memory in bytes available for the file cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_used_blks</em> - number of memory blocks used by the file cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_free_blks</em> - number of free memory blocks available for the file cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_overhead</em> - amount of memory in bytes used for the file cache internal structures      </span>     </li>    </ul>   </p>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-fcache-meminfo-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-609">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_fcache_meminfo()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> &lt;pre&gt;<br /><span style="color: #9876AA">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_fcache_meminfo</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;<br /></span>&lt;/pre&gt;</span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array (     [memory_total] =&gt; 134217728     [memory_free] =&gt; 131339120     [num_used_blks] =&gt; 361     [num_free_blks] =&gt; 3     [memory_overhead] =&gt; 5856 ) </span></div>     </div>    </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-fcache-meminfo-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_fileinfo()} - Retrieves information about files cached in the file cache</span></li>     <li class="member"><span class="function">{@link wincache_ocache_fileinfo()} - Retrieves information about files cached in the opcode cache</span></li>     <li class="member"><span class="function">{@link wincache_ocache_meminfo()} - Retrieves information about opcode cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_meminfo()} - Retrieves information about session cache memory usage</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data about file cache memory usage or FALSE on failure*/
function wincache_fcache_meminfo() {}

/**
*<div id="function.wincache-lock" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_lock</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_lock</span> &mdash; <span class="dc-title">    Acquires an exclusive lock on a given key   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-lock-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_lock</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766">string</span> <span class="parameter" style="color:#2EACF9">$key</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">bool</span> <span class="parameter" style="color:#2EACF9">$isglobal</span><span class="initializer"> = <strong><span>FALSE</span></strong></span></span>   ] )</div>    <p class="para rdfs-comment">    Obtains an exclusive lock on a given key. The execution of the current script will be blocked until the     lock can be obtained. Once the lock is obtained, the other scripts that try to request the lock by using the same     key will be blocked, until the current script releases the lock by using <span class="function">{@link wincache_unlock()}</span>.   </p>   <div class="warning"><strong class="warning">Warning</strong>    <p class="simpara">     Using of the <span class="function"><strong style="color:#CC7832">wincache_lock()</strong></span> and <span class="function">{@link wincache_unlock()}</span> can cause deadlocks when      executing PHP scripts in a multi-process environment like FastCGI. Do not use these functions unless you are      absolutely sure you need to use them. For the majority of the operations on the user cache it is not necessary to     use these functions.    </p>   </div>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-lock-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        Name of the key in the cache to get the lock on.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">isglobal</span></dt>       <dd>        <p class="para">        Controls whether the scope of the lock is system-wide or local. Local locks are scoped to the application pool         in IIS FastCGI case or to all php processes that have the same parent process identifier.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-lock-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    成功时返回 <strong><span>TRUE</span></strong>， 或者在失败时返回 <strong><span>FALSE</span></strong>。   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-lock-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-610">     <p><strong>Example #1 Using <span class="function"><strong style="color:#CC7832">wincache_lock()</strong></span></strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />$fp&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #9876AA">fopen</span><span style="color: #007700">(</span><span style="color: #DD0000">"/tmp/lock.txt"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"r+"</span><span style="color: #007700">);<br />if&nbsp;(</span><span style="color: #9876AA">wincache_lock</span><span style="color: #007700">(</span><span style="color: #9876AA">“lock_txt_lock”</span><span style="color: #007700">))&nbsp;{&nbsp;</span><span style="color: #FF8000">//&nbsp;do&nbsp;an&nbsp;exclusive&nbsp;lock<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #9876AA">ftruncate</span><span style="color: #007700">(</span><span style="color: #9876AA">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">0</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;truncate&nbsp;file<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #9876AA">fwrite</span><span style="color: #007700">(</span><span style="color: #9876AA">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Write&nbsp;something&nbsp;here\n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #9876AA">wincache_unlock</span><span style="color: #007700">(</span><span style="color: #9876AA">“lock_txt_lock”</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;release&nbsp;the&nbsp;lock<br /></span><span style="color: #007700">}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Couldn't&nbsp;get&nbsp;the&nbsp;lock!"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #9876AA">fclose</span><span style="color: #007700">(</span><span style="color: #9876AA">$fp</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>     </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-lock-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_unlock()} - Releases an exclusive lock on a given key</span></li>     <li class="member"><span class="function">{@link wincache_ucache_set()} - Adds a variable in user cache and overwrites a variable if it already exists in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_get()} - Gets a variable stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_delete()} - Deletes variables from the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_clear()} - Deletes entire content of the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_exists()} - Checks if a variable exists in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return boolean Returns TRUE on success or FALSE on failure.*/
function wincache_lock($key, $isglobal = false) {}

/**
*<div id="function.wincache-ocache-fileinfo" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ocache_fileinfo</h1>   <p class="verinfo">(PECL wincache &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">wincache_ocache_fileinfo</span> &mdash; <span class="dc-title">    Retrieves information about files cached in the opcode cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ocache-fileinfo-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ocache_fileinfo</strong></span>     ([ <span class="methodparam"><span class="type" style="color:#EAB766">bool</span> <span class="parameter" style="color:#2EACF9">$summaryonly</span><span class="initializer"> = <strong><span>FALSE</span></strong></span></span>   ] )</div>    <p class="para rdfs-comment">    Retrieves information about opcode cache content and its usage.   </p>   <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function was <em class="emphasis">REMOVED</em> in PHP 7.0.0.</p></div>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ocache-fileinfo-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">summaryonly</span></dt>       <dd>        <p class="para">        Controls whether the returned array will contain information about individual cache entries         along with the opcode cache summary.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ocache-fileinfo-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data about opcode cache  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>   <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>total_cache_uptime</em> - total time in seconds that the opcode cache has been active      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_file_count</em> - total number of files that are currently in the opcode cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_hit_count</em> - number of times the compiled opcode have been served from the cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_miss_count</em> - number of times the compiled opcode have not been found in the cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>is_local_cache</em> - true is the cache metadata is for a local cache instance,         false if the metadata is for the global cache      </span>     </li>     <li class="listitem">      <p class="para">       <em>file_entries</em> - an array that contains the information about all the cached files:       <ul class="itemizedlist">        <li class="listitem">         <span class="simpara">          <em>file_name</em> - absolute file name of the cached file         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>add_time</em> - time in seconds since the file has been added to the opcode cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>use_time</em> - time in seconds since the file has been accessed in the opcode cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>last_check</em> - time in seconds since the file has been checked for modifications         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>hit_count</em> - number of times the file has been served from the cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>function_count</em> - number of functions in the cached file         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>class_count</em> - number of classes in the cached file         </span>        </li>       </ul>      </p>     </li>    </ul>   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ocache-fileinfo-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-611">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_ocache_fileinfo()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> &lt;pre&gt;<br /><span style="color: #9876AA">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ocache_fileinfo</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;<br /></span>&lt;/pre&gt;</span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array (     [total_cache_uptime] =&gt; 17357     [total_file_count] =&gt; 121     [total_hit_count] =&gt; 36562     [total_miss_count] =&gt; 201     [file_entries] =&gt; Array         (             [1] =&gt; Array                 (                     [file_name] =&gt; c:\inetpub\wwwroot\checkcache.php                     [add_time] =&gt; 17356                     [use_time] =&gt; 7                     [last_check] =&gt; 10                     [hit_count] =&gt; 454                     [function_count] =&gt; 0                     [class_count] =&gt; 1                 )             [2] =&gt; Array (...iterates for each cached file)         ) ) </span></div>     </div>    </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ocache-fileinfo-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_fileinfo()} - Retrieves information about files cached in the file cache</span></li>     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ocache_meminfo()} - Retrieves information about opcode cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_meminfo()} - Retrieves information about session cache memory usage</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data about opcode cache or FALSE on failure*/
function wincache_ocache_fileinfo($summaryonly = false) {}

/**
*<div id="function.wincache-ocache-meminfo" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ocache_meminfo</h1>   <p class="verinfo">(PECL wincache &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">wincache_ocache_meminfo</span> &mdash; <span class="dc-title">    Retrieves information about opcode cache memory usage   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ocache-meminfo-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ocache_meminfo</strong></span>     ( <span class="methodparam">void</span>    )</div>    <p class="para rdfs-comment">    Retrieves information about memory usage by opcode cache.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ocache-meminfo-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data about opcode cache memory usage  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>   <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>memory_total</em> - amount of memory in bytes allocated for the opcode cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_free</em> - amount of free memory in bytes available for the opcode cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_used_blks</em> - number of memory blocks used by the opcode cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_free_blks</em> - number of free memory blocks available for the opcode cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_overhead</em> - amount of memory in bytes used for the opcode cache internal structures      </span>     </li>    </ul>   </p>   <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function was <em class="emphasis">REMOVED</em> in PHP 7.0.0.</p></div>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ocache-meminfo-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-612">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_ocache_meminfo()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> &lt;pre&gt;<br /><span style="color: #9876AA">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ocache_meminfo</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;<br /></span>&lt;/pre&gt;</span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array (     [memory_total] =&gt; 134217728     [memory_free] =&gt; 112106972     [num_used_blks] =&gt; 15469     [num_free_blks] =&gt; 4     [memory_overhead] =&gt; 247600 ) </span></div>     </div>    </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ocache-meminfo-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_fileinfo()} - Retrieves information about files cached in the file cache</span></li>     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ocache_fileinfo()} - Retrieves information about files cached in the opcode cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_meminfo()} - Retrieves information about session cache memory usage</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data about opcode cache memory usage or FALSE on failure*/
function wincache_ocache_meminfo() {}

/**
*<div id="function.wincache-refresh-if-changed" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_refresh_if_changed</h1>   <p class="verinfo">(PECL wincache &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">wincache_refresh_if_changed</span> &mdash; <span class="dc-title">    Refreshes the cache entries for the cached files   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-refresh-if-changed-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_refresh_if_changed</strong></span>     ([ <span class="methodparam"><span class="type" style="color:#EAB766">array</span> <span class="parameter" style="color:#2EACF9">$files</span><span class="initializer"> = NULL</span></span>   ] )</div>    <p class="para rdfs-comment">    Refreshes the cache entries for the files, whose names were passed in the input argument.     If no argument is specified then refreshes all the entries in the cache.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-refresh-if-changed-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">files</span></dt>       <dd>        <p class="para">        An array of file names for files that need to be refreshed.         An absolute or relative file paths can be used.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-refresh-if-changed-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    成功时返回 <strong><span>TRUE</span></strong>， 或者在失败时返回 <strong><span>FALSE</span></strong>。   </p>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-refresh-if-changed-examples">   <h3 class="title">范例</h3>   <span>    WinCache performs regular checks on the cached files to     ensure that if any file has changed then the corresponding entry in the cache is     updated. By default this check is performed every 30 seconds. If, for example,     a PHP script updates another PHP script where the application&#039;s     configuration settings are stored, then it may happen that after the     configuration settings have been saved to a file, the application is still using     old settings for some time until the cache is refreshed. In those cases it may be     preferrable to refresh the cache right after the file has been changed. The     following example shows how this can be done.    <div class="example" id="example-613">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_refresh_if_changed()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php&nbsp;<br />$filename&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'C:\inetpub\wwwroot\config.php'</span><span style="color: #007700">;<br /></span><span style="color: #9876AA">$handle&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #9876AA">fopen</span><span style="color: #007700">(</span><span style="color: #9876AA">$filename</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'w+'</span><span style="color: #007700">);<br />if&nbsp;(</span><span style="color: #9876AA">$handle&nbsp;</span><span style="color: #007700">===&nbsp;</span><span style="color: #9876AA">FALSE</span><span style="color: #007700">)&nbsp;die(</span><span style="color: #DD0000">'Failed&nbsp;to&nbsp;open&nbsp;file&nbsp;'</span><span style="color: #007700">.</span><span style="color: #9876AA">$filename</span><span style="color: #007700">.</span><span style="color: #DD0000">'&nbsp;for&nbsp;writing'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">fwrite</span><span style="color: #007700">(</span><span style="color: #9876AA">$handle</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'&lt;?php&nbsp;$setting=something;&nbsp;?&gt;'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">fclose</span><span style="color: #007700">(</span><span style="color: #9876AA">$handle</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_refresh_if_changed</span><span style="color: #007700">(array(</span><span style="color: #9876AA">$filename</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>     </div>   </span>  </div>     <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-refresh-if-changed-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_fileinfo()} - Retrieves information about files cached in the file cache</span></li>     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ocache_fileinfo()} - Retrieves information about files cached in the opcode cache</span></li>     <li class="member"><span class="function">{@link wincache_ocache_meminfo()} - Retrieves information about opcode cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>    </ul>   </span>  </div>    <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return boolean Returns TRUE on success or FALSE on failure.*/
function wincache_refresh_if_changed(array $files) {}

/**
*<div id="function.wincache-rplist-fileinfo" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_rplist_fileinfo</h1>   <p class="verinfo">(PECL wincache &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">wincache_rplist_fileinfo</span> &mdash; <span class="dc-title">    Retrieves information about resolve file path cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-rplist-fileinfo-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_rplist_fileinfo</strong></span>     ([ <span class="methodparam"><span class="type" style="color:#EAB766">bool</span> <span class="parameter" style="color:#2EACF9">$summaryonly</span><span class="initializer"> = <strong><span>FALSE</span></strong></span></span>   ] )</div>    <p class="para rdfs-comment">    Retrieves information about cached mappings between relative file paths     and corresponding absolute file paths.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-rplist-fileinfo-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data about the resolve file path cache  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>   <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>total_file_count</em> - total number of file path         mappings stored in the cache      </span>     </li>     <li class="listitem">      <p class="para">       <em>rplist_entries</em> - an array that contains the information about all         the cached file paths:       <ul class="itemizedlist">        <li class="listitem">         <span class="simpara">          <em>resolve_path</em> - path to a file         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>subkey_data</em> - corresponding absolute path to a file         </span>        </li>       </ul>      </p>     </li>    </ul>   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-rplist-fileinfo-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-614">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_rplist_fileinfo()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> &lt;pre&gt;<br /><span style="color: #9876AA">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_rplist_fileinfo</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;<br /></span>&lt;/pre&gt;</span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array (     [total_file_count] =&gt; 5     [rplist_entries] =&gt; Array         (             [1] =&gt; Array                 (                     [resolve_path] =&gt; checkcache.php                     [subkey_data] =&gt; c:\inetpub\wwwroot|c:\inetpub\wwwroot\checkcache.php                 )              [2] =&gt; Array (...iterates for each cached file)         ) ) </span></div>     </div>    </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-rplist-fileinfo-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_fcache_fileinfo()} - Retrieves information about files cached in the file cache</span></li>     <li class="member"><span class="function">{@link wincache_ocache_fileinfo()} - Retrieves information about files cached in the opcode cache</span></li>     <li class="member"><span class="function">{@link wincache_ocache_meminfo()} - Retrieves information about opcode cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_meminfo()} - Retrieves information about session cache memory usage</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data about the resolve file path cache or FALSE on failure*/
function wincache_rplist_fileinfo() {}

/**
*<div id="function.wincache-rplist-meminfo" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_rplist_meminfo</h1>   <p class="verinfo">(PECL wincache &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">wincache_rplist_meminfo</span> &mdash; <span class="dc-title">    Retrieves information about memory usage by the resolve file path cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-rplist-meminfo-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_rplist_meminfo</strong></span>     ( <span class="methodparam">void</span>    )</div>    <p class="para rdfs-comment">    Retrieves information about memory usage by resolve file path cache.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-rplist-meminfo-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data that describes memory usage by resolve file path cache.  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>   <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>memory_total</em> - amount of memory in bytes allocated for the resolve file path cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_free</em> - amount of free memory in bytes available for the resolve file path cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_used_blks</em> - number of memory blocks used by the resolve file path cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_free_blks</em> - number of free memory blocks available for the resolve file path cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_overhead</em> - amount of memory in bytes used for the internal structures of resolve file path cache      </span>     </li>    </ul>   </p>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-rplist-meminfo-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-615">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_rplist_meminfo()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> &lt;pre&gt;<br /><span style="color: #9876AA">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_rplist_meminfo</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;<br /></span>&lt;/pre&gt;</span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array (     [memory_total] =&gt; 9437184     [memory_free] =&gt; 9416744     [num_used_blks] =&gt; 23     [num_free_blks] =&gt; 1     [memory_overhead] =&gt; 416 ) </span></div>     </div>    </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-rplist-meminfo-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_fileinfo()} - Retrieves information about files cached in the file cache</span></li>     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ocache_fileinfo()} - Retrieves information about files cached in the opcode cache</span></li>     <li class="member"><span class="function">{@link wincache_ocache_meminfo()} - Retrieves information about opcode cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_meminfo()} - Retrieves information about session cache memory usage</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data that describes memory usage by resolve file path cache. or FALSE on failure*/
function wincache_rplist_meminfo() {}

/**
*<div id="function.wincache-scache-info" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_scache_info</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_scache_info</span> &mdash; <span class="dc-title">    Retrieves information about files cached in the session cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-scache-info-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_scache_info</strong></span>     ([ <span class="methodparam"><span class="type" style="color:#EAB766">bool</span> <span class="parameter" style="color:#2EACF9">$summaryonly</span><span class="initializer"> = <strong><span>FALSE</span></strong></span></span>   ] )</div>    <p class="para rdfs-comment">    Retrieves information about session cache content and its usage.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-scache-info-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">summaryonly</span></dt>       <dd>        <p class="para">        Controls whether the returned array will contain information about individual cache entries         along with the session cache summary.       </p>      </dd>          </dl>    </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-scache-info-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data about session cache  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>     <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>total_cache_uptime</em> - total time in seconds that the session cache has been active      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_item_count</em> - total number of elements that are currently in the session cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>is_local_cache</em> - true is the cache metadata is for a local cache instance,         false if the metadata is for the global cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_hit_count</em> - number of times the data has been served from the cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_miss_count</em> - number of times the data has not been found in the cache      </span>     </li>     <li class="listitem">      <p class="para">       <em>scache_entries</em> - an array that contains the information about all the cached items:       <ul class="itemizedlist">        <li class="listitem">         <span class="simpara">          <em>key_name</em> - name of the key which is used to store the data         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>value_type</em> - type of value stored by the key         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>use_time</em> - time in seconds since the file has been accessed in the opcode cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>last_check</em> - time in seconds since the file has been checked for modifications         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>ttl_seconds</em> - time remaining for the data to live in the cache, 0 meaning infinite         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>age_seconds</em> - time elapsed from the time data has been added in the cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>hitcount</em> - number of times data has been served from the cache         </span>        </li>       </ul>      </p>     </li>    </ul>   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-scache-info-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-616">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_scache_info()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> &lt;pre&gt;<br /><span style="color: #9876AA">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_scache_info</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;<br /></span>&lt;/pre&gt;</span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array (     [total_cache_uptime] =&gt; 17357     [total_file_count] =&gt; 121     [total_hit_count] =&gt; 36562     [total_miss_count] =&gt; 201     [scache_entries] =&gt; Array         (             [1] =&gt; Array                 (                     [file_name] =&gt; c:\inetpub\wwwroot\checkcache.php                     [add_time] =&gt; 17356                     [use_time] =&gt; 7                     [last_check] =&gt; 10                     [hit_count] =&gt; 454                     [function_count] =&gt; 0                     [class_count] =&gt; 1                 )             [2] =&gt; Array (...iterates for each cached file)         ) ) </span></div>     </div>    </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-scache-info-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_fileinfo()} - Retrieves information about files cached in the file cache</span></li>     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ocache_meminfo()} - Retrieves information about opcode cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_meminfo()} - Retrieves information about session cache memory usage</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data about session cache or FALSE on failure*/
function wincache_scache_info($summaryonly = false) {}

/**
*<div id="function.wincache-scache-meminfo" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_scache_meminfo</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_scache_meminfo</span> &mdash; <span class="dc-title">    Retrieves information about session cache memory usage   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-scache-meminfo-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_scache_meminfo</strong></span>     ( <span class="methodparam">void</span>    )</div>    <p class="para rdfs-comment">    Retrieves information about memory usage by session cache.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-scache-meminfo-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data about session cache memory usage  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>   <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>memory_total</em> - amount of memory in bytes allocated for the session cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_free</em> - amount of free memory in bytes available for the session cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_used_blks</em> - number of memory blocks used by the session cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_free_blks</em> - number of free memory blocks available for the session cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_overhead</em> - amount of memory in bytes used for the session cache internal structures      </span>     </li>    </ul>   </p>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-scache-meminfo-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-617">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_scache_meminfo()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> &lt;pre&gt;<br /><span style="color: #9876AA">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_scache_meminfo</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;<br /></span>&lt;/pre&gt;</span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array  (      [memory_total] =&gt; 5242880      [memory_free] =&gt; 5215056      [num_used_blks] =&gt; 6      [num_free_blks] =&gt; 3      [memory_overhead] =&gt; 176 )  </span></div>     </div>    </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-scache-meminfo-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_fileinfo()} - Retrieves information about files cached in the file cache</span></li>     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ocache_fileinfo()} - Retrieves information about files cached in the opcode cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data about session cache memory usage or FALSE on failure*/
function wincache_scache_meminfo() {}

/**
*<div id="function.wincache-ucache-add" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_add</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_add</span> &mdash; <span class="dc-title">    Adds a variable in user cache only if variable does not already exist in the cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-add-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_add</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766">string</span> <span class="parameter" style="color:#2EACF9">$key</span></span>    , <span class="methodparam"><span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="parameter" style="color:#2EACF9">$value</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">int</span> <span class="parameter" style="color:#2EACF9">$ttl</span><span class="initializer"> = 0</span></span>   ] )</div>    <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_add</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766">array</span> <span class="parameter" style="color:#2EACF9">$values</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="parameter" style="color:#2EACF9">$unused</span><span class="initializer"> = NULL</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">int</span> <span class="parameter" style="color:#2EACF9">$ttl</span><span class="initializer"> = 0</span></span>   ]] )</div>    <p class="para rdfs-comment">    Adds a variable in user cache, only if this variable doesn&#039;t already exist in the cache.     The added variable remains in the user cache unless its time to live expires or it is     deleted by using <span class="function">{@link wincache_ucache_delete()}</span> or <span class="function">{@link wincache_ucache_clear()}</span> functions.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ucache-add-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        Store the variable using this <span class="parameter" style="color:#2EACF9">key</span> name. If a variable with same key is already present the function        will fail and return <strong><span>FALSE</span></strong>. <span class="parameter" style="color:#2EACF9">key</span> is case sensitive. To override the value even if         <span class="parameter" style="color:#2EACF9">key</span> is present use <span class="function">{@link wincache_ucache_set()}</span> function instad.         <span class="parameter" style="color:#2EACF9">key</span> can also take array of name =&gt; value pairs where names will be used as keys.         This can be used to add multiple values in the cache in one operation, thus avoiding race condition.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">value</span></dt>       <dd>        <p class="para">        Value of a variable to store. <span class="parameter" style="color:#2EACF9">Value</span> supports all data types except resources, such as file handles.        This paramter is ignored if first argument is an array. A general guidance is to pass <strong><span>NULL</span></strong>         as <span class="parameter" style="color:#2EACF9">value</span> while using array as <span class="parameter" style="color:#2EACF9">key</span>. If <span class="parameter" style="color:#2EACF9">value</span> is an        object, or an array containing objects, then the objects will be serialized. See        <a href="http://php.net/manual/zh/language.oop5.magic.php#object.sleep" class="link">__sleep()</a> for details on serializing objects.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">values</span></dt>       <dd>        <p class="para">        Associative array of keys and values.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">ttl</span></dt>       <dd>        <p class="para">        Time for the variable to live in the cache in seconds. After the value specified in <span class="parameter" style="color:#2EACF9">ttl</span> has passed         the stored variable will be deleted from the cache. This parameter takes a default value of <em>0</em> which means         the variable will stay in the cache unless explicitly deleted by using <span class="function">{@link wincache_ucache_delete()}</span>         or <span class="function">{@link wincache_ucache_clear()}</span> functions.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-add-returnvalues">   <h3 class="title">返回值</h3>   <p class="simpara">    If <span class="parameter" style="color:#2EACF9">key</span> is string, the function returns <strong><span>TRUE</span></strong> on success and <strong><span>FALSE</span></strong> on failure.   </p>   <p class="para">    If <span class="parameter" style="color:#2EACF9">key</span> is an array, the function returns:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       If all the name =&gt; value pairs in the array can be set, function returns an empty array;      </span>     </li>     <li class="listitem">      <span class="simpara">      If all the name =&gt; value pairs in the array cannot be set, function returns <strong><span>FALSE</span></strong>;      </span>     </li>     <li class="listitem">      <span class="simpara">       If some can be set while others cannot, function returns an array with name=&gt;value pair for which the addition failed in the user cache.      </span>     </li>    </ul>   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-add-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-618">     <p><strong>Example #1 <span class="function"><strong style="color:#CC7832">wincache_ucache_add()</strong></span> with <span class="parameter" style="color:#2EACF9">key</span> as a string</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />$bar&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'BAR'</span><span style="color: #007700">;<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_add</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">$bar</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_add</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">$bar</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> bool(true) bool(false) string(3) &quot;BAR&quot;  </span></div>     </div>        </div>   </span>   <p class="para">    <div class="example" id="example-619">     <p><strong>Example #2 <span class="function"><strong style="color:#CC7832">wincache_ucache_add()</strong></span> with <span class="parameter" style="color:#2EACF9">key</span> as an array</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />$colors_array&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'green'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'5'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Blue'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'6'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'yellow'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'7'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cyan'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'8'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_add</span><span style="color: #007700">(</span><span style="color: #9876AA">$colors_array</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_add</span><span style="color: #007700">(</span><span style="color: #9876AA">$colors_array</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'Blue'</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> array(0) { }  array(4) {    [&quot;green&quot;]=&gt; int(-1)    [&quot;Blue&quot;]=&gt; int(-1)    [&quot;yellow&quot;]=&gt; int(-1)    [&quot;cyan&quot;]=&gt; int(-1)  }  string(1) &quot;6&quot; </span></div>     </div>        </div>   </p>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-add-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_ucache_set()} - Adds a variable in user cache and overwrites a variable if it already exists in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_get()} - Gets a variable stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_delete()} - Deletes variables from the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_clear()} - Deletes entire content of the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_exists()} - Checks if a variable exists in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><a href="http://php.net/manual/zh/language.oop5.magic.php#object.sleep" class="link">__sleep()</a></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return boolean If key is string, the function returns TRUE on success and FALSE on failure.*/
function wincache_ucache_add($key, $value, $ttl = 0) {}

/**
*<div id="function.wincache-ucache-cas" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_cas</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_cas</span> &mdash; <span class="dc-title">    Compares the variable with old value and assigns new value to it   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-cas-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_cas</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766">string</span> <span class="parameter" style="color:#2EACF9">$key</span></span>    , <span class="methodparam"><span class="type" style="color:#EAB766">int</span> <span class="parameter" style="color:#2EACF9">$old_value</span></span>    , <span class="methodparam"><span class="type" style="color:#EAB766">int</span> <span class="parameter" style="color:#2EACF9">$new_value</span></span>    )</div>    <p class="para rdfs-comment">    Compares the variable associated with the <span class="parameter" style="color:#2EACF9">key</span> with <span class="parameter" style="color:#2EACF9">old_value</span>     and if it matches then assigns the <span class="parameter" style="color:#2EACF9">new_value</span> to it.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ucache-cas-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        The <span class="parameter" style="color:#2EACF9">key</span> that is used to store the variable in the cache.         <span class="parameter" style="color:#2EACF9">key</span> is case sensitive.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">old_value</span></dt>       <dd>        <p class="para">        Old value of the variable pointed by <span class="parameter" style="color:#2EACF9">key</span> in the user cache.         The value should be of type <em>long</em>, otherwise the function returns         <strong><span>FALSE</span></strong>.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">new_value</span></dt>       <dd>        <p class="para">        New value which will get assigned to variable pointer by <span class="parameter" style="color:#2EACF9">key</span> if a         match is found. The value should be of type <em>long</em>, otherwise         the function returns <strong><span>FALSE</span></strong>.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-cas-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    成功时返回 <strong><span>TRUE</span></strong>， 或者在失败时返回 <strong><span>FALSE</span></strong>。   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-cas-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-620">     <p><strong>Example #1 Using <span class="function"><strong style="color:#CC7832">wincache_ucache_cas()</strong></span></strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'counter'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">2922</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_cas</span><span style="color: #007700">(</span><span style="color: #DD0000">'counter'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">2922</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">1</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'counter'</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> bool(true)  int(1) </span></div>     </div>        </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-cas-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_ucache_inc()} - Increments the value associated with the key</span></li>     <li class="member"><span class="function">{@link wincache_ucache_dec()} - Decrements the value associated with the key</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return boolean Returns TRUE on success or FALSE on failure.*/
function wincache_ucache_cas($key, $old_value, $new_value) {}

/**
*<div id="function.wincache-ucache-clear" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_clear</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_clear</span> &mdash; <span class="dc-title">    Deletes entire content of the user cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-clear-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_clear</strong></span>     ( <span class="methodparam">void</span>    )</div>    <p class="para rdfs-comment">    Clears/deletes all the values stored in the user cache.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-clear-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    成功时返回 <strong><span>TRUE</span></strong>， 或者在失败时返回 <strong><span>FALSE</span></strong>。   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-clear-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-621">     <p><strong>Example #1 using <span class="function"><strong style="color:#CC7832">wincache_ucache_clear()</strong></span></strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">1</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'red'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">2</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'orange'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">4</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'blue'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">8</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'cyan'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">16</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">$array1&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'red'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'orange'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'blue'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cyan'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #9876AA">$array1</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_clear</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #9876AA">$array1</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> array(5) { [&quot;green&quot;]=&gt; int(1)             [&quot;red&quot;]=&gt; int(2)             [&quot;orange&quot;]=&gt; int(4)             [&quot;blue&quot;]=&gt; int(8)             [&quot;cyan&quot;]=&gt; int(16) }  bool(true)  bool(false)  </span></div>     </div>        </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-clear-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_ucache_set()} - Adds a variable in user cache and overwrites a variable if it already exists in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_add()} - Adds a variable in user cache only if variable does not already exist in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_delete()} - Deletes variables from the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_get()} - Gets a variable stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_exists()} - Checks if a variable exists in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>        </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return boolean Returns TRUE on success or FALSE on failure.*/
function wincache_ucache_clear() {}

/**
*<div id="function.wincache-ucache-dec" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_dec</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_dec</span> &mdash; <span class="dc-title">    Decrements the value associated with the key   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-dec-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_dec</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766">string</span> <span class="parameter" style="color:#2EACF9">$key</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">int</span> <span class="parameter" style="color:#2EACF9">$dec_by</span><span class="initializer"> = 1</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">bool</span> <span class="parameter" style="color:#2EACF9">&$success</span></span>   ]] )</div>    <p class="para rdfs-comment">    Decrements the value associated with the <span class="parameter" style="color:#2EACF9">key</span> by 1 or as specified     by <span class="parameter" style="color:#2EACF9">dec_by</span>.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ucache-dec-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        The <span class="parameter" style="color:#2EACF9">key</span> that was used to store the variable in the cache.         <span class="parameter" style="color:#2EACF9">key</span> is case sensitive.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">dec_by</span></dt>       <dd>        <p class="para">        The value by which the variable associated with the <span class="parameter" style="color:#2EACF9">key</span> will get decremented.         If the argument is a floating point number it will be truncated to nearest integer. The variable         associated with the <span class="parameter" style="color:#2EACF9">key</span> should be of type <em>long</em>, otherwise         the function fails and returns <strong><span>FALSE</span></strong>.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">success</span></dt>       <dd>        <p class="para">        Will be set to <strong><span>TRUE</span></strong> on success and <strong><span>FALSE</span></strong> on failure.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-dec-returnvalues">   <h3 class="title">返回值</h3>   <p class="simpara">    Returns the decremented value on success and <strong><span>FALSE</span></strong> on failure.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-dec-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-622">     <p><strong>Example #1 Using <span class="function"><strong style="color:#CC7832">wincache_ucache_dec()</strong></span></strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'counter'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">1</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_dec</span><span style="color: #007700">(</span><span style="color: #DD0000">'counter'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">2923</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">$success</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">$success</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> int(2922)  bool(true) </span></div>     </div>        </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-dec-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_ucache_inc()} - Increments the value associated with the key</span></li>     <li class="member"><span class="function">{@link wincache_ucache_cas()} - Compares the variable with old value and assigns new value to it</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return int Returns the decremented value on success and FALSE on failure.*/
function wincache_ucache_dec($key, $dec_by = 1, &$success) {}

/**
*<div id="function.wincache-ucache-delete" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_delete</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_delete</span> &mdash; <span class="dc-title">    Deletes variables from the user cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-delete-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_delete</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="parameter" style="color:#2EACF9">$key</span></span>    )</div>    <p class="para rdfs-comment">    Deletes the elements in the user cache pointed by <span class="parameter" style="color:#2EACF9">key</span>.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ucache-delete-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        The <span class="parameter" style="color:#2EACF9">key</span> that was used to store the variable in the cache.         <span class="parameter" style="color:#2EACF9">key</span> is case sensitive. <span class="parameter" style="color:#2EACF9">key</span> can be an         array of keys.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-delete-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    成功时返回 <strong><span>TRUE</span></strong>， 或者在失败时返回 <strong><span>FALSE</span></strong>。   </p>   <p class="para">    If <span class="parameter" style="color:#2EACF9">key</span> is an array then the function returns <strong><span>FALSE</span></strong>     if every element of the array fails to get deleted from the user cache, otherwise returns an     array which consists of all the keys that are deleted.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-delete-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-623">     <p><strong>Example #1 Using <span class="function"><strong style="color:#CC7832">wincache_ucache_delete()</strong></span> with <span class="parameter" style="color:#2EACF9">key</span> as a string</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'bar'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_delete</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> bool(true) bool(false) </span></div>     </div>        </div>   </span>   <p class="para">    <div class="example" id="example-624">     <p><strong>Example #2 Using<span class="function"><strong style="color:#CC7832">wincache_ucache_delete()</strong></span> with <span class="parameter" style="color:#2EACF9">key</span> as an array</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />$array1&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'green'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'5'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'blue'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'6'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'yellow'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'7'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cyan'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'8'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #9876AA">$array1</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">$array2&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'blue'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'yellow'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cyan'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_delete</span><span style="color: #007700">(</span><span style="color: #9876AA">$array2</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> array(4) { [0]=&gt; string(5) &quot;green&quot;             [1]=&gt; string(4) &quot;Blue&quot;             [2]=&gt; string(6) &quot;yellow&quot;             [3]=&gt; string(4) &quot;cyan&quot; }  </span></div>     </div>        </div>   </p>   <p class="para">    <div class="example" id="example-625">     <p><strong>Example #3 Using <span class="function"><strong style="color:#CC7832">wincache_ucache_delete()</strong></span> with <span class="parameter" style="color:#2EACF9">key</span> as an array where some elements cannot be deleted</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />$array1&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'green'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'5'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'blue'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'6'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'yellow'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'7'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cyan'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'8'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #9876AA">$array1</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">$array2&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'orange'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'red'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'yellow'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cyan'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_delete</span><span style="color: #007700">(</span><span style="color: #9876AA">$array2</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> array(2) { [0]=&gt; string(6) &quot;yellow&quot;             [1]=&gt; string(4) &quot;cyan&quot; } </span></div>     </div>        </div>   </p>    </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-delete-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_ucache_set()} - Adds a variable in user cache and overwrites a variable if it already exists in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_add()} - Adds a variable in user cache only if variable does not already exist in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_get()} - Gets a variable stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_clear()} - Deletes entire content of the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_exists()} - Checks if a variable exists in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return boolean Returns TRUE on success or FALSE on failure.*/
function wincache_ucache_delete($key) {}

/**
*<div id="function.wincache-ucache-exists" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_exists</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_exists</span> &mdash; <span class="dc-title">    Checks if a variable exists in the user cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-exists-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_exists</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766">string</span> <span class="parameter" style="color:#2EACF9">$key</span></span>    )</div>    <p class="para rdfs-comment">    Checks if a variable with the <span class="parameter" style="color:#2EACF9">key</span> exists in the user cache or not.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ucache-exists-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        The <span class="parameter" style="color:#2EACF9">key</span> that was used to store the variable in the cache.         <span class="parameter" style="color:#2EACF9">key</span> is case sensitive.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-exists-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Returns <strong><span>TRUE</span></strong> if variable with the <span class="parameter" style="color:#2EACF9">key</span> exitsts,     otherwise returns <strong><span>FALSE</span></strong>.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-exists-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-626">     <p><strong>Example #1 Using <span class="function"><strong style="color:#CC7832">wincache_ucache_exists()</strong></span></strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br /></span><span style="color: #007700">if&nbsp;(!</span><span style="color: #9876AA">wincache_ucache_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">1</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> bool(true) </span></div>     </div>        </div>   </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-exists-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_ucache_set()} - Adds a variable in user cache and overwrites a variable if it already exists in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_add()} - Adds a variable in user cache only if variable does not already exist in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_get()} - Gets a variable stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_clear()} - Deletes entire content of the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_delete()} - Deletes variables from the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return boolean Returns TRUE if variable with the key exitsts, otherwise returns FALSE.*/
function wincache_ucache_exists($key) {}

/**
*<div id="function.wincache-ucache-get" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_get</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_get</span> &mdash; <span class="dc-title">    Gets a variable stored in the user cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-get-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_get</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="parameter" style="color:#2EACF9">$key</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">bool</span> <span class="parameter" style="color:#2EACF9">&$success</span></span>   ] )</div>    <p class="para rdfs-comment">    Gets a variable stored in the user cache.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ucache-get-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        The <span class="parameter" style="color:#2EACF9">key</span> that was used to store the variable in the cache.         <span class="parameter" style="color:#2EACF9">key</span> is case sensitive. <span class="parameter" style="color:#2EACF9">key</span> can be an         array of keys. In this case the return value will be an array of values of each element         in the <span class="parameter" style="color:#2EACF9">key</span> array. If an object, or an array containing objects,        is returned, then the objects will be unserialized. See        <a href="http://php.net/manual/zh/language.oop5.magic.php#object.wakeup" class="link">__wakeup()</a> for details on unserializing objects.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">success</span></dt>       <dd>        <p class="para">        Will be set to <strong><span>TRUE</span></strong> on success and <strong><span>FALSE</span></strong> on failure.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-get-returnvalues">   <h3 class="title">返回值</h3>   <p class="simpara">    If <span class="parameter" style="color:#2EACF9">key</span> is a string, the function returns the value of the variable stored with that key.     The <span class="parameter" style="color:#2EACF9">success</span> is set to <strong><span>TRUE</span></strong> on success and     to <strong><span>FALSE</span></strong> on failure.   </p>   <p class="simpara">    The <span class="parameter" style="color:#2EACF9">key</span> is an array, the parameter <span class="parameter" style="color:#2EACF9">success</span>     is always set to <strong><span>TRUE</span></strong>. The returned array (name =&gt; value pairs) will     contain only those name =&gt; value pairs for which the get operation in user cache was     successful. If none of the keys in the key array finds a match in the user cache     an empty array will be returned.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-get-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-627">     <p><strong>Example #1 <span class="function"><strong style="color:#CC7832">wincache_ucache_get()</strong></span> with <span class="parameter" style="color:#2EACF9">key</span> as a string</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />wincache_ucache_add</span><span style="color: #007700">(</span><span style="color: #DD0000">'color'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'blue'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'color'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">$success</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">$success</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> string(4) &quot;blue&quot; bool(true) </span></div>     </div>        </div>   </span>   <p class="para">    <div class="example" id="example-628">     <p><strong>Example #2 <span class="function"><strong style="color:#CC7832">wincache_ucache_get()</strong></span> with <span class="parameter" style="color:#2EACF9">key</span> as an array</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />$array1&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'green'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'5'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Blue'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'6'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'yellow'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'7'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cyan'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'8'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #9876AA">$array1</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">$array2&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Blue'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'yellow'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cyan'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #9876AA">$array2</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">$success</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">$success</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> array(4) { [&quot;green&quot;]=&gt; string(1) &quot;5&quot;             [&quot;Blue&quot;]=&gt; string(1) &quot;6&quot;             [&quot;yellow&quot;]=&gt; string(1) &quot;7&quot;             [&quot;cyan&quot;]=&gt; string(1) &quot;8&quot; }  bool(true)  </span></div>     </div>        </div>   </p>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-get-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_ucache_add()} - Adds a variable in user cache only if variable does not already exist in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_set()} - Adds a variable in user cache and overwrites a variable if it already exists in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_delete()} - Deletes variables from the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_clear()} - Deletes entire content of the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_exists()} - Checks if a variable exists in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><a href="http://php.net/manual/zh/language.oop5.magic.php#object.wakeup" class="link">__wakeup()</a></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return mixed <p>If key is a string, the function returns the value of the variable*/
function wincache_ucache_get($key, &$success) {}

/**
*<div id="function.wincache-ucache-inc" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_inc</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_inc</span> &mdash; <span class="dc-title">    Increments the value associated with the key   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-inc-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_inc</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766">string</span> <span class="parameter" style="color:#2EACF9">$key</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">int</span> <span class="parameter" style="color:#2EACF9">$inc_by</span><span class="initializer"> = 1</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">bool</span> <span class="parameter" style="color:#2EACF9">&$success</span></span>   ]] )</div>    <p class="para rdfs-comment">    Increments the value associated with the <span class="parameter" style="color:#2EACF9">key</span> by 1 or as specified     by <span class="parameter" style="color:#2EACF9">inc_by</span>.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ucache-inc-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        The <span class="parameter" style="color:#2EACF9">key</span> that was used to store the variable in the cache.         <span class="parameter" style="color:#2EACF9">key</span> is case sensitive.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">inc_by</span></dt>       <dd>        <p class="para">        The value by which the variable associated with the <span class="parameter" style="color:#2EACF9">key</span> will get incremented.         If the argument is a floating point number it will be truncated to nearest integer. The variable         associated with the <span class="parameter" style="color:#2EACF9">key</span> should be of type <em>long</em>, otherwise         the function fails and returns <strong><span>FALSE</span></strong>.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">success</span></dt>       <dd>        <p class="para">        Will be set to <strong><span>TRUE</span></strong> on success and <strong><span>FALSE</span></strong> on failure.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-inc-returnvalues">   <h3 class="title">返回值</h3>   <p class="simpara">    Returns the incremented value on success and <strong><span>FALSE</span></strong> on failure.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-inc-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-629">     <p><strong>Example #1 Using <span class="function"><strong style="color:#CC7832">wincache_ucache_inc()</strong></span></strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'counter'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">1</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_inc</span><span style="color: #007700">(</span><span style="color: #DD0000">'counter'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">2921</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">$success</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">$success</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> int(2922)  bool(true) </span></div>     </div>        </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-inc-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_ucache_dec()} - Decrements the value associated with the key</span></li>     <li class="member"><span class="function">{@link wincache_ucache_cas()} - Compares the variable with old value and assigns new value to it</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return int Returns the incremented value on success and FALSE on failure.*/
function wincache_ucache_inc($key, $inc_by = 1, &$success) {}

/**
*<div id="function.wincache-ucache-info" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_info</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_info</span> &mdash; <span class="dc-title">    Retrieves information about data stored in the user cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-info-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_info</strong></span>     ([ <span class="methodparam"><span class="type" style="color:#EAB766">bool</span> <span class="parameter" style="color:#2EACF9">$summaryonly</span><span class="initializer"> = <strong><span>FALSE</span></strong></span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">string</span> <span class="parameter" style="color:#2EACF9">$key</span><span class="initializer"> = NULL</span></span>   ]] )</div>    <p class="para rdfs-comment">    Retrieves information about data stored in the user cache.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ucache-info-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">summaryonly</span></dt>       <dd>        <p class="para">        Controls whether the returned array will contain information about individual cache entries         along with the user cache summary.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        The key of an entry in the user cache. If specified then the returned array will contain information         only about that cache entry. If not specified and <span class="parameter" style="color:#2EACF9">summaryonly</span> is set to         <strong><span>FALSE</span></strong> then the returned array will contain information about all entries in the cache.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-info-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data about user cache  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>     <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>total_cache_uptime</em> - total time in seconds that the user cache has been active      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_item_count</em> - total number of elements that are currently in the user cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>is_local_cache</em> - true is the cache metadata is for a local cache instance,         false if the metadata is for the global cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_hit_count</em> - number of times the data has been served from the cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>total_miss_count</em> - number of times the data has not been found in the cache      </span>     </li>     <li class="listitem">      <p class="para">       <em>ucache_entries</em> - an array that contains the information about all the cached items:       <ul class="itemizedlist">        <li class="listitem">         <span class="simpara">          <em>key_name</em> - name of the key which is used to store the data         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>value_type</em> - type of value stored by the key         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>use_time</em> - time in seconds since the file has been accessed in the opcode cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>last_check</em> - time in seconds since the file has been checked for modifications         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>is_session</em> - indicates if the data is a session variable         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>ttl_seconds</em> - time remaining for the data to live in the cache, 0 meaning infinite         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>age_seconds</em> - time elapsed from the time data has been added in the cache         </span>        </li>        <li class="listitem">         <span class="simpara">          <em>hitcount</em> - number of times data has been served from the cache         </span>        </li>       </ul>      </p>     </li>    </ul>   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-info-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-630">     <p><strong>Example #1 Using <span class="function"><strong style="color:#CC7832">wincache_ucache_info()</strong></span></strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">2922</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'green'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_info</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array  ( [&quot;total_cache_uptime&quot;] =&gt; int(0)   [&quot;is_local_cache&quot;] =&gt; bool(false)   [&quot;total_item_count&quot;] =&gt; int(1)    [&quot;total_hit_count&quot;] =&gt; int(3)    [&quot;total_miss_count&quot;] =&gt; int(1)    [&quot;ucache_entries&quot;] =&gt; Array(1)      ( [1] =&gt; Array(6)       (          [&quot;key_name&quot;] =&gt; string(5) &quot;green&quot;         [&quot;value_type&quot;] =&gt; string(4) &quot;long&quot;          [&quot;is_session&quot;] =&gt; int(0)          [&quot;ttl_seconds&quot;] =&gt; int(0)         [&quot;age_seconds&quot;] =&gt; int(0)         [&quot;hitcount&quot;] =&gt; int(3)         )      )  ) </span></div>     </div>        </div>   </span>  </div>     <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-info-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ocache_fileinfo()} - Retrieves information about files cached in the opcode cache</span></li>     <li class="member"><span class="function">{@link wincache_ocache_meminfo()} - Retrieves information about opcode cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_meminfo()} - Retrieves information about session cache memory usage</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data about user cache or FALSE on failure*/
function wincache_ucache_info($summaryonly = false, $key) {}

/**
*<div id="function.wincache-ucache-meminfo" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_meminfo</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_meminfo</span> &mdash; <span class="dc-title">    Retrieves information about user cache memory usage   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-meminfo-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">array</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_meminfo</strong></span>     ( <span class="methodparam">void</span>    )</div>    <p class="para rdfs-comment">    Retrieves information about memory usage by user cache.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-meminfo-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    Array of meta data about user cache memory usage  或者在失败时返回 <strong><span>FALSE</span></strong>   </p>   <p class="para">    The array returned by this function contains the following elements:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       <em>memory_total</em> - amount of memory in bytes allocated for the user cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_free</em> - amount of free memory in bytes available for the user cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_used_blks</em> - number of memory blocks used by the user cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>num_free_blks</em> - number of free memory blocks available for the user cache      </span>     </li>     <li class="listitem">      <span class="simpara">       <em>memory_overhead</em> - amount of memory in bytes used for the user cache internal structures      </span>     </li>    </ul>   </p>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-meminfo-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-631">     <p><strong>Example #1 A <span class="function"><strong style="color:#CC7832">wincache_ucache_meminfo()</strong></span> example</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> &lt;pre&gt;<br /><span style="color: #9876AA">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_meminfo</span><span style="color: #007700">());<br /></span><span style="color: #9876AA">?&gt;<br /></span>&lt;/pre&gt;</span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> Array  (      [memory_total] =&gt; 5242880      [memory_free] =&gt; 5215056      [num_used_blks] =&gt; 6      [num_free_blks] =&gt; 3      [memory_overhead] =&gt; 176 )  </span></div>     </div>    </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-meminfo-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_fcache_fileinfo()} - Retrieves information about files cached in the file cache</span></li>     <li class="member"><span class="function">{@link wincache_fcache_meminfo()} - Retrieves information about file cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ocache_fileinfo()} - Retrieves information about files cached in the opcode cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_fileinfo()} - Retrieves information about resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_rplist_meminfo()} - Retrieves information about memory usage by the resolve file path cache</span></li>     <li class="member"><span class="function">{@link wincache_refresh_if_changed()} - Refreshes the cache entries for the cached files</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_meminfo()} - Retrieves information about session cache memory usage</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return array Array of meta data about user cache memory usage or FALSE on failure*/
function wincache_ucache_meminfo() {}

/**
*<div id="function.wincache-ucache-set" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_ucache_set</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_ucache_set</span> &mdash; <span class="dc-title">    Adds a variable in user cache and overwrites a variable if it already exists in the cache   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-ucache-set-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_set</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="parameter" style="color:#2EACF9">$key</span></span>    , <span class="methodparam"><span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="parameter" style="color:#2EACF9">$value</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">int</span> <span class="parameter" style="color:#2EACF9">$ttl</span><span class="initializer"> = 0</span></span>   ] )</div>    <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_ucache_set</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766">array</span> <span class="parameter" style="color:#2EACF9">$values</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766"><a href="http://php.net/manual/zh/language.pseudo-types.php#language.types.mixed" class="type mixed" style="color:#EAB766">mixed</a></span> <span class="parameter" style="color:#2EACF9">$unused</span><span class="initializer"> = NULL</span></span>    [, <span class="methodparam"><span class="type" style="color:#EAB766">int</span> <span class="parameter" style="color:#2EACF9">$ttl</span><span class="initializer"> = 0</span></span>   ]] )</div>    <p class="para rdfs-comment">    Adds a variable in user cache. Overwrites a variable if it already exists in the cache.     The added or updated variable remains in the user cache unless its time to live expires or it is     deleted by using <span class="function">{@link wincache_ucache_delete()}</span> or <span class="function">{@link wincache_ucache_clear()}</span> functions.   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-ucache-set-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        Store the variable using this <span class="parameter" style="color:#2EACF9">key</span> name. If a variable with same         <span class="parameter" style="color:#2EACF9">key</span> is already present the function will overwrite the previous         value with the new one. <span class="parameter" style="color:#2EACF9">key</span> is case sensitive.         <span class="parameter" style="color:#2EACF9">key</span> can also take array of name =&gt; value pairs where names will be used as         keys. This can be used to add multiple values in the cache in one operation, thus avoiding         race condition.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">value</span></dt>       <dd>        <p class="para">        Value of a variable to store. <span class="parameter" style="color:#2EACF9">Value</span> supports all data types except resources, such as file handles.        This paramter is ignored if first argument is an array. A general guidance is to pass <strong><span>NULL</span></strong>         as <span class="parameter" style="color:#2EACF9">value</span> while using array as <span class="parameter" style="color:#2EACF9">key</span>. If <span class="parameter" style="color:#2EACF9">value</span> is an        object, or an array containing objects, then the objects will be serialized. See        <a href="http://php.net/manual/zh/language.oop5.magic.php#object.sleep" class="link">__sleep()</a> for details on serializing objects.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">values</span></dt>       <dd>        <p class="para">        Associative array of keys and values.       </p>      </dd>                 <dt> <span class="parameter" style="color:#2EACF9">ttl</span></dt>       <dd>        <p class="para">        Time for the variable to live in the cache in seconds. After the value specified in <span class="parameter" style="color:#2EACF9">ttl</span> has passed         the stored variable will be deleted from the cache. This parameter takes a default value of <em>0</em> which means         the variable will stay in the cache unless explicitly deleted by using <span class="function">{@link wincache_ucache_delete()}</span>         or <span class="function">{@link wincache_ucache_clear()}</span> functions.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-ucache-set-returnvalues">   <h3 class="title">返回值</h3>   <p class="simpara">    If <span class="parameter" style="color:#2EACF9">key</span> is string, the function returns <strong><span>TRUE</span></strong> on success and <strong><span>FALSE</span></strong> on failure.   </p>   <p class="para">    If <span class="parameter" style="color:#2EACF9">key</span> is an array, the function returns:    <ul class="itemizedlist">     <li class="listitem">      <span class="simpara">       If all the name =&gt; value pairs in the array can be set, function returns an empty array;      </span>     </li>     <li class="listitem">      <span class="simpara">      If all the name =&gt; value pairs in the array cannot be set, function returns <strong><span>FALSE</span></strong>;      </span>     </li>     <li class="listitem">      <span class="simpara">       If some can be set while others cannot, function returns an array with name=&gt;value pair for which the addition failed in the user cache.      </span>     </li>    </ul>   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-ucache-set-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-632">     <p><strong>Example #1 <span class="function"><strong style="color:#CC7832">wincache_ucache_set()</strong></span> with <span class="parameter" style="color:#2EACF9">key</span> as a string</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />$bar&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'BAR'</span><span style="color: #007700">;<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">$bar</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">$bar1&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'BAR1'</span><span style="color: #007700">;<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">$bar1</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> bool(true) string(3) &quot;BAR&quot; bool(true) string(3) &quot;BAR1&quot; </span></div>     </div>        </div>   </span>   <p class="para">    <div class="example" id="example-633">     <p><strong>Example #2 <span class="function"><strong style="color:#CC7832">wincache_ucache_set()</strong></span> with <span class="parameter" style="color:#2EACF9">key</span> as an array</strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />$colors_array&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'green'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'5'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Blue'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'6'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'yellow'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'7'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cyan'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'8'</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #9876AA">$colors_array</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_set</span><span style="color: #007700">(</span><span style="color: #9876AA">$colors_array</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">var_dump</span><span style="color: #007700">(</span><span style="color: #9876AA">wincache_ucache_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'Blue'</span><span style="color: #007700">));<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>      <div class="example-contents"><p>以上例程会输出：</p></div>     <div class="example-contents screen" style="background:black;padding-left:5px;"> <div class="cdata"><span> array(0) {} array(0) {} string(1) &quot;6&quot; </span></div>     </div>        </div>   </p>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-ucache-set-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_ucache_add()} - Adds a variable in user cache only if variable does not already exist in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_get()} - Gets a variable stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_delete()} - Deletes variables from the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_clear()} - Deletes entire content of the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_exists()} - Checks if a variable exists in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><a href="http://php.net/manual/zh/language.oop5.magic.php#object.sleep" class="link">__sleep()</a></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return boolean <p>*/
function wincache_ucache_set($key, $value, $ttl = 0) {}

/**
*<div id="function.wincache-unlock" class="refentry">  <div class="refnamediv">   <h1 class="refname">wincache_unlock</h1>   <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_unlock</span> &mdash; <span class="dc-title">    Releases an exclusive lock on a given key   </span></p>   </div>  <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 description" id="refsect1-function.wincache-unlock-description">   <h3 class="title">说明</h3>   <div class="methodsynopsis dc-description" style="border:1px gray;padding-left:5px;background:#232525">    <span class="type" style="color:#EAB766">bool</span> <span class="methodname" style="color:#CC7832"><strong>wincache_unlock</strong></span>     ( <span class="methodparam"><span class="type" style="color:#EAB766">string</span> <span class="parameter" style="color:#2EACF9">$key</span></span>    )</div>    <p class="para rdfs-comment">    Releases an exclusive lock that was obtained on a given key by using <span class="function">{@link wincache_lock()}</span>.     If any other process was blocked waiting for the lock on this key, that process will be able to obtain     the lock.   </p>   <div class="warning"><strong class="warning">Warning</strong>    <p class="simpara">     Using of the <span class="function">{@link wincache_lock()}</span> and <span class="function"><strong style="color:#CC7832">wincache_unlock()</strong></span> can cause deadlocks when      executing PHP scripts in a multi-process environment like FastCGI. Do not use these functions unless you are      absolutely sure you need to use them. For the majority of the operations on the user cache it is not necessary to     use these functions.    </p>   </div>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 parameters" id="refsect1-function.wincache-unlock-parameters">   <h3 class="title">参数</h3>   <span>    <dl>            <dt> <span class="parameter" style="color:#2EACF9">key</span></dt>       <dd>        <p class="para">        Name of the key in the cache to release the lock on.       </p>      </dd>          </dl>    </span>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 returnvalues" id="refsect1-function.wincache-unlock-returnvalues">   <h3 class="title">返回值</h3>   <p class="para">    成功时返回 <strong><span>TRUE</span></strong>， 或者在失败时返回 <strong><span>FALSE</span></strong>。   </p>  </div>   <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 examples" id="refsect1-function.wincache-unlock-examples">   <h3 class="title">范例</h3>   <span>    <div class="example" id="example-634">     <p><strong>Example #1 Using <span class="function"><strong style="color:#CC7832">wincache_unlock()</strong></span></strong></p>     <div class="example-contents"> <div class="phpcode" style="border-color:gray;background:#232525"><span><span style="color: #000000"> <span style="color: #9876AA">&lt;?php<br />$fp&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #9876AA">fopen</span><span style="color: #007700">(</span><span style="color: #DD0000">"/tmp/lock.txt"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"r+"</span><span style="color: #007700">);<br />if&nbsp;(</span><span style="color: #9876AA">wincache_lock</span><span style="color: #007700">(</span><span style="color: #9876AA">“lock_txt_lock”</span><span style="color: #007700">))&nbsp;{&nbsp;</span><span style="color: #FF8000">//&nbsp;do&nbsp;an&nbsp;exclusive&nbsp;lock<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #9876AA">ftruncate</span><span style="color: #007700">(</span><span style="color: #9876AA">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #9876AA">0</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;truncate&nbsp;file<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #9876AA">fwrite</span><span style="color: #007700">(</span><span style="color: #9876AA">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Write&nbsp;something&nbsp;here\n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #9876AA">wincache_unlock</span><span style="color: #007700">(</span><span style="color: #9876AA">“lock_txt_lock”</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;release&nbsp;the&nbsp;lock<br /></span><span style="color: #007700">}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Couldn't&nbsp;get&nbsp;the&nbsp;lock!"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #9876AA">fclose</span><span style="color: #007700">(</span><span style="color: #9876AA">$fp</span><span style="color: #007700">);<br /></span><span style="color: #9876AA">?&gt;</span> </span> </span></div>     </div>     </div>   </span>  </div>    <br></br><div style="BORDER-TOP: gray 1px dashed; OVERFLOW: hidden; HEIGHT: 1px"></div><div class="refsect1 seealso" id="refsect1-function.wincache-unlock-seealso">   <h3 class="title">参见</h3>   <span>    <ul class="simplelist">     <li class="member"><span class="function">{@link wincache_lock()} - Acquires an exclusive lock on a given key</span></li>     <li class="member"><span class="function">{@link wincache_ucache_set()} - Adds a variable in user cache and overwrites a variable if it already exists in the cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_get()} - Gets a variable stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_delete()} - Deletes variables from the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_clear()} - Deletes entire content of the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_exists()} - Checks if a variable exists in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_ucache_meminfo()} - Retrieves information about user cache memory usage</span></li>     <li class="member"><span class="function">{@link wincache_ucache_info()} - Retrieves information about data stored in the user cache</span></li>     <li class="member"><span class="function">{@link wincache_scache_info()} - Retrieves information about files cached in the session cache</span></li>    </ul>   </span>  </div>   <div class="up"><a href="http://php.net/manual/zh/ref.wincache.php">WinCache 函数</a></div></div>
 * @return boolean Returns TRUE on success or FALSE on failure.*/
function wincache_unlock($key) {}
?>